package com.mobile.service;

import com.mobile.pojo.Setmeal;
import org.springframework.ui.Model;

import java.util.List;

/**
 * @author Encounter
 * @date 2024/10/05 13:47<br/>
 */
public interface SetmealService
    {
        /**
         * 查询全部
         *
         * @return {@link List }<{@link Setmeal }>
         */
        String queryAll(Model model) throws Exception;
        
        /**
         * 找到套餐详情由套餐id
         *
         * @param id 套餐id
         * @return {@link Setmeal }
         */
        String findDetailById(Integer id, Model model) throws Exception;
    }
